<h1>Valors List</h1>

<table>
  <thead>
    <tr>
      <th>Id va</th>
      <th>Id dg</th>
      <th>Id ac</th>
      <th>Id fo</th>
      <th>Mes</th>
      <th>Anio</th>
      <th>Val</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($valors as $valor): ?>
    <tr>
      <td><a href="<?php echo url_for('asignaciones/show?id_va='.$valor->getIdVa()) ?>"><?php echo $valor->getIdVa() ?></a></td>
      <td><?php echo $valor->getIdDg() ?></td>
      <td><?php echo $valor->getIdAc() ?></td>
      <td><?php echo $valor->getIdFo() ?></td>
      <td><?php echo $valor->getMes() ?></td>
      <td><?php echo $valor->getAnio() ?></td>
      <td><?php echo $valor->getVal() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('asignaciones/new') ?>">New</a>
